import Home from '../components/Home.vue';
import Category from '../components/Category.vue';
import Detail from '../components/Detail.vue';
import CouponSearch from '../components/coupon/Search.vue';
import CouponSearchResult from '../components/coupon/SearchResult.vue';
export default [
    {
        path: '/',
        component: Home,
        name: '首页',
    },
    {
        path: '/category/:categoryId/:subId',
        component: Category,
        name: '分类页',
    },
    {
        path: '/category/:categoryId',
        component: Category,
        name: '分类页2',
    },
    {
        path: '/detail/:id',
        component: Detail,
        name: '详情页',
    },
    {
        path: '/coupon/search',
        component:CouponSearch,
        name:'优惠券'
    },
    {
        path: '/coupon/searchResult/:keywords',
        component:CouponSearchResult,
        name:'优惠券结果'
    }
];